package com.boco.fznq.network;

import com.boco.fznq.login.bean.BaseBean;

/**
 * 抽出的请求接口
 * Created by jiangcheng on 2017/9/15.
 */

public interface HttpListener<T extends BaseBean> {

    void onResponse(T response);

    /**
     * 错误
     */
    void onError(Exception e);
}
